<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>VIP管理系统-控制台</title>
		<meta name="keywords" content="song" />
		<meta name="description" content="song" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<!-- basic styles -->
		<link href="/Public/assets/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="/Public/assets/css/font-awesome.min.css" />

		<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->

		<!-- page specific plugin styles -->

		<!-- fonts -->

		<link rel="stylesheet" href="/Public/assets/css/family.css" />

		<!-- ace styles -->

		<link rel="stylesheet" href="/Public/assets/css/ace.min.css" />
		<link rel="stylesheet" href="/Public/assets/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="/Public/assets/css/ace-skins.min.css" />
		<script src="/Public/assets/js/jquery-2.0.3.min.js"></script>
		<script src="/Public/admin/js/base.js"></script>
		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->

		<!-- inline styles related to this page -->

		<!-- ace settings handler -->
		<!-- <script src="/Public/assets/js/ace-extra.min.js"></script>-->

		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

		<!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->
	</head>
	<style type="text/css">
		td,th,.table-bordered{text-align: center;}

.datalist_current_ahref{
	background: #6fb3e0!important;
}
.btn-light,.btn-info{
   margin-right: 3px;
}

	</style>



<body>


		<style type="text/css">
			.navbar {
				background: #58b1fc;
			}
			
			.green a {
				border-radius: 10px;
				max-height: 30px;
				margin-top: 7px;
				background: #4b93cf;
			}
			
			.green span {
				height: 30px;
				line-height: 30px;
				display: block;
			}
			
			.purple {
				background-color: #58b1fc !important;
				position: relative;
			}
			.purple:hover{
				   background: #add2f1;
			}
			.purple a {
				cursor: pointer;
				background-color: #58b1fc !important;
			}
			
			.purple .user_help {
				display: inline-block;
				height: 18px;
				width: 18px;
				background: url(/Public/Admin/images/user_help.png) no-repeat;
				vertical-align: middle;
			}
			
			.light-blue {
				background-color: #58b1fc !important;
			}
			
			.light-blue a {
				background-color: #58b1fc !important;
			}
			.submenu li{
				background: #389bcf!important;
			}
			.submenu li:hover{
				background: #2b83b1!important;
			}
			
			.nav-list li.active{
				background: #2b83b1!important;
			}
			.nav-list>li>.submenu:before{ border: 1px dashed #98c9e3;}
			.nav-list>li>.submenu>li:before {
			    content: "";
			    display: inline-block;
			    position: absolute;
			    width: 7px;
			    left: 20px;
			    top: 17px;
			    border-top: 1px dashed #98c9e3;
			}
			.m-logo{
				display: inline-block;
				width: 82px;
				height: 18px;
				vertical-align: middle;
				background: url('/Public/Admin/images/51m_logo.jpg') no-repeat;
			}
/*			.ace-nav>li.green>a {
				    background-color: #4b93cf;
				}
		.ace-nav>li.green>a:hover {
				    background-color: #188ef1;
				}*/
		</style>
		<div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>
<!-- 
			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							<i class="icon-leaf"></i>
						   VIP后台管理系统
						</small>
					</a>
				</div>
				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">

						<li class="green">
							<a data-toggle="dropdown" class="dropdown-toggle" href="#">

								<span class="">账户余额：AU$<?php echo ($balance); ?></span>
							</a>


						</li>
						<li class="purple">
							<a data-toggle="dropdown" style="cursor:pointer" class="dropdown-toggle" onclick="location.href='/admin.php?s=/User/help/nav_id/101.html';" >

								<span class="" >使用帮助</span>
							</a>


						</li>
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="/Public/assets/avatars/avatar2.png" alt="Jason's Photo" />
								<span class="user-info" style="top: 14px;">
									<?php echo ($_SESSION['admin_user']['username']); ?>

								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="/admin.php?s=/Login/logout">
										<i class="icon-off"></i>
										退出
									</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
			</div>
 -->




			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="" class="navbar-brand">
						<small>
							<i class="m-logo"></i>
						   VIP后台管理系统
						</small>
					</a>
					<!-- /.brand -->
				</div>
				<!-- /.navbar-header -->

				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav daohang">

						<li class="green">
							<a data-toggle="dropdown" class="dropdown-toggle" href=" #">
								<span class="">账户余额：AU$<span id="money" style="display:inline;"><?php echo ($balance?$balance:'0'); ?><span/></span>
							</a>

						</li>
						<li class="purple">
							<a  tilte="使用帮助" class=" help" onclick="location.href='/admin.php?s=/User/help/nav_id/101.html';">
								<span alt="使用帮助"   class="user_help"></span>
								<span>使用帮助</span>
							</a>
						</li>
						<li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<img class="nav-user-photo" src="/Public/assets/avatars/avatar2.png" alt="Jason&#39;s Photo">
								<span class="user-info" style="top: 14px;">
									<?php echo ($_SESSION['admin_user']['username']); ?>
								</span>

								<i class="icon-caret-down"></i>
							</a>

							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li>
									<a href="<?php echo U('Login/logout');?>">
										<i class="icon-off"></i> 退出
									</a>
								</li>
							</ul>
						</li>
					</ul>
					<!-- /.ace-nav -->
				</div>
				<!-- /.navbar-header -->
			</div>
		</div>

		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>

	<style type="text/css">
				.main-container:after{
					background: #e9f0f9;
				}
				.sidebar:before {
					background: #248dc1 !important;
				}
				
				.nav-list>li.active>a {
					background: #0e6390 !important;
					color: #FFFFFF !important;
				}
				
				.nav-list>li.active.open>a {
					background: #248dc1 !important;
					color: #FFFFFF !important;
				}
				
				.nav-list>li {
					border: none;
				}
				
				.nav-list>li a:hover>.arrow,
				.nav-list>li.active>a>.arrow,
				.nav-list>li.open>a>.arrow {
					color: #FFFFFF;
				}
				
				.sidebar-collapse {
					background: #248dc1 !important;
					border: none;
				}
				
				.nav-list li.active>a:after {
					border-right-color: #e9f0f9 !important;
				}
				
				.nav-list>li.active:after {
					border: 1px solid #e9f0f9 !important;
				}
				
				.submenu>li>a {
					border: none !important;
					color: #FFFFFF !important;
				}
				
				.nav-list>li.active>.submenu>li:before {
					border-top-color: #ffffff;
				}
				
				.nav-list>li.active>.submenu:before {
					border-left-color: #ffffff;
				}
				
				.submenu li:nth-of-type(2n+1) {
					background: #389bcf;
				}
				
				.submenu li:nth-of-type(2n) {
					background: #3294c8;
				}
				
				.nav-list>li .submenu {
					border: none;
				}
				
				.breadcrumb .home-icon {
					color: #b5b6b7;
				}
			</style>


					<ul class="nav nav-list">

					   <?php if(is_array($navlist)): $k = 0; $__LIST__ = $navlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$n): $mod = ($k % 2 );++$k; if($n["children"] != ''): ?><!-- <?php if($n["active"] == 1): ?><li class="active"><?php else: ?><li><?php endif; ?> -->
					       <li class="active">
							<a href=""  class="dropdown-toggle">
								<i class="<?php echo ($n["iconcls"]); ?>"></i>
								<span class="menu-text"> <?php echo ($n["text"]); ?> </span>
								<b class="arrow icon-angle-down"></b>
							</a>
								 <ul class="submenu">
								  <?php if(is_array($n["children"])): $i = 0; $__LIST__ = $n["children"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cate): $mod = ($i % 2 );++$i; if($cate["id"] == $navid): ?><li class="active"><?php else: ?><li><?php endif; ?>
											<a href="<?php echo U($cate['url'],array('nav_id'=>$cate['id']));?>">
												<i class="<?php echo ($cate["iconcls"]); ?>"></i>
												<?php echo ($cate["text"]); ?>
											</a>
								    </li><?php endforeach; endif; else: echo "" ;endif; ?>
								 </ul>
							 </li>
							<?php else: ?>
								 <li>
										<a href="/admin.php?s=/<?php echo ($n["url"]); ?>?nav_id=<?php echo ($cate["id"]); ?>">
											<i class="<?php echo ($n["iconcls"]); ?>"></i>
											<?php echo ($n["text"]); ?>
										</a>
							    </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
					</ul><!-- /.nav-list -->

			<!-- 		<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" title="点击缩小导航" data-icon2="icon-double-angle-right"></i>
					</div> -->

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>

				<!-- 	<div class="ace-settings-container" id="ace-settings-container">
					<div class="btn btn-app btn-xs btn-warning ace-settings-btn guding" id="ace-settings-btn"  style="background: #f8fafc !important;">
						<i class="icon-cogs bigger-150" style="color: black !important;"></i>
					</div>

					<div class="ace-settings-box" id="ace-settings-box">
						<div>
							<div class="pull-left">
								<select id="skin-colorpicker" class="hide">
									<option data-skin="default"  value="#438EB9">#438EB9</option>
									<option data-skin="skin-1" value="#222A2D">#222A2D</option>
									<option data-skin="skin-2" value="#C6487E">#C6487E</option>
									<option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
								</select>
							</div>
							<span>&nbsp; 选择皮肤</span>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-navbar" />
							<label class="lbl" for="ace-settings-navbar"> 固定导航条</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar" />
							<label class="lbl" for="ace-settings-sidebar"> 固定滑动条</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-breadcrumbs" />
							<label class="lbl" for="ace-settings-breadcrumbs">固定面包屑</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" />
							<label class="lbl" for="ace-settings-rtl">切换到左边</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container" />
							<label class="lbl" for="ace-settings-add-container">
								切换窄屏
								<b></b>
							</label>
						</div>
					</div>
				</div> -->
			</div><!-- /.main-container-inner -->
            <div id="_show_public_loading_div" class="_show_public_loading_div" style=" position: fixed; left: 50%;top: 45px;height: 40px;
			    line-height: 40px;
			    width: 150px;
			    text-align: center;
			    background: #87b87f;
			    border-bottom-left-radius: 8px;
			    border-bottom-right-radius: 8px;
			    border: 2px solid #F9F7F7;
			    border-top: none;
			    box-shadow: 0px 0px 10px #B1ADAD;
			    color: #FFF;z-index:9999;display:none; ">
             <img src="/Public/Admin/images/icon32_loading_light218877.gif" style="width:20px;vertical-align: middle;">
                处理中...
            </div>
			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->



    <style type="text/css">
       .input-group {
        /* position: relative; */
        display: table;
        border-collapse: separate;
        width: 200px;
    }   
    .col-sm-5{ position:relative; }
    .sy_ccs1{ position: absolute; left:30px; top:10px;}
    .tags{width: auto;min-width: 377px;}
    .choice-brand{
        height: 28px;
    }
</style>
<!--引入弹窗插件-->
<!--弹窗插件-->
<link rel="stylesheet" href="/Public/artdialog/skins/blue.css" />
<script type="text/javascript" src="/Public/artdialog/artDialog.js"></script>
<script type="text/javascript" src="/Public/artdialog/plugins/iframeTools.source.js"></script>
<script type="text/javascript" src="/Public/artdialog/common_opfun.js"></script>

<!--提示插件-->
<link rel="stylesheet" href="/Public/notifit/notifIt.css" />
<script src="/Public/notifit/notifIt.js"></script>




<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>
        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
 <span style="color:#428bca"><?php echo ($parent_nav["name"]); ?></span>
            </li>
            <li class="active"><?php echo ($one_nav["name"]); ?></li>
        </ul><!-- .breadcrumb -->
    </div>
            <style type="text/css">
                .page-content {
            padding: 0px 24px 24px;
                }
                
                .porlets-content_title {
                    height: 49px;
                    background: #b6d1f2;
                }
                .col-md-12 .icon-table{
                    color: #FFFFFF;
                    font-size: 18px;
                    font-weight: bolder;
                    line-height: 49px;
                }
            </style>
    <div class="page-content">

        <form action="<?php echo U('PreOrder/PreOrderList');?>" method="post" id="searchForm">
            <input  type="hidden" name="brand_ids" value="" id="brand_ids">
       
            <div class="row">
                <div class="col-md-12">
                    <div class="block-web">
                  <div class="row" >
                    <div style="padding: 20px 0;background: #e9f0f9;height:100%;">
                         <div class="form-group" style="float: left;">
                            <div class="input-group col-sm-3">
                             <input class="form-control" id="title" type="text" name="title" placeholder="请输入搜索条件/自编码/条形码" size="15">
                         </div>
                     </div>
                     <div class="form-group" style="float: left;">
                        <div class="input-group col-sm-3">
                         <input class="form-control" id="goods_name" type="text" name="goods_name" placeholder="请输入商品名">
                     </div>
                 </div>

                   <div class="form-group" style="float: left;">
                        <div class="input-group col-sm-3">
                         <input class="form-control" id="chinese_goods_name" type="text" name="chinese_goods_name" placeholder="请输入中文商品名">
                     </div>
                 </div>
                 <div class="form-group" >
                    <div class="col-sm-12">
                        <div class="tags" id="brand_label">
                           <button type="button" class="btn btn-sm btn-info choice-brand"  onclick="_esOpendialogmini('<?php echo U('PreOrder/PreOrderbrand');?>','选择品牌','xuanzepinpai')"> 选择品牌</button>

                       </div> 
                        <div class=""  style="float: right; margin:0 20px" >
                         <a href="#" class="btn btn-sm btn-info  radius-4" onclick="_es_openDilog902('<?php echo U('PreOrder/confirm_pre_order');?>','确定预订单','quedingyudingdan')">
                           确定预订单
                           <span class="badge badge-pink" id="pre_order_count">+0</span>
                         </a>  
                      </div>
                   </div>
                   <button type="button" class="btn btn-sm btn-info"  onclick="load()"> 搜索</button>
                   <button type="button" class="btn btn-sm btn-info" onclick="sub_all()"> 查看所有</button>
                  <div style="clear:both;"></div>
                   <!-- <button type="button" class="btn btn-info" onclick="export_excel()"> 导出EXCEL</button> -->

               </div>
              </div>
                   <div class="porlets-content">
                    <div class="porlets-content_title">
                        <div class="row" >
                            <div class="col-md-12 icon-table"><?php echo ($one_nav["name"]); ?></div>
                        </div>
                    </div>
                <div class="table-responsive">
                    <div id="order_list_item_content">
                        <div class="item-list-bd" style="height:100px;line-height:100px;text-align:center;">
                            <img src="/Public/admin/images/load3.gif" />
                            加载中...
                        </div>
                    </div>
                </div><!--/table-responsive-->
        </div><!--/block-web-->
    </div><!--/col-md-12-->
</div>
</form>
</div>
</div>
<script type="text/javascript" src="/Public/laydate/laydate.dev.js"></script>
<script type="text/javascript">
    var cookiename_brand="brand2_<?php echo UID; ?>";
    var cookiename2="pre_order_<?php echo UID; ?>";
    $(function(){
        //初始化
        RCWBrand();
        //预订单数量
        pre_order_count();
        goSearch("#searchForm","order_list_item_content");

        $(document).keydown(function(event){ 
        if(event.keyCode==13){ 
        load(); 
        } 
            })
      
    });
    
    function pre_order_count(){
      var ojson = [];
          //获取cookie值 
          var _list=getCookie(cookiename2);
          if(_list!=""){
            ojson=JSON.parse(_list);
           } 
           if( ojson == null){return;}
          var count = ojson.length;
          $('#pre_order_count').html('+'+count);
    }

    function load(){
      goSearch("#searchForm","order_list_item_content");
    }

    function toParentChilder(id){
        $('#parent_id').val(id);
        goSearch("#searchForm","order_list_item_content");
    }

    function clock_load_dialog(){
     setTimeout(function(){
        var win=    art.dialog.opener;
        win.load();
        top.art.dialog().close();
    },800);
 }

function sub_all(){
    $('input[type=text]').val(['']);
    $('input[type=hidden]').val(['']);
    $('select').val('');
    //清空html
    $('#brand_label').children('span').remove();
    //删除cookie
    setCookie(cookiename_brand,"",-10);
    load();
}

 function _es_openDilog90(url, title,id){ 
   art.dialog.open(url, { title: title, width: '1200px', height: '90%', opacity: 0.2, id: id, fixed: true, close:function(){load();}  });
}
function _es_openDilog902(url, title,id){
   art.dialog.open(url, { title: title, width: '1200px', height: '90%', opacity: 0.2, id: id, fixed: true, close:function(){pre_order_count();}  });
}
function _esOpendialogmini(url, title,id){

    var mydialog=art.dialog.open(url,{title:title, width:'800px', height:'500px', opacity: 0.2, id: "add_edit_id",
      ok: function () { 
        this.close();
        RCWBrand();
        return false;
    },
    okVal:'确定'
    });  
}

function RCWBrand(){
   var ojson=[],lsjson=[],json=[],del_json=[]; 
   var htl="";
    //获取cookie值 
    var _list=getCookie(cookiename_brand);
    if(_list!=""){
      ojson=JSON.parse(_list);
  }
    //当前已经存在的商品信息 
    $("#brand_label").find('span').each(function(){
        var _json=$(this).attr("field");
        var _json="{"+_json+"}";
        var tmp =JSON.parse(_json);
        if(tmp != ""){
                  lsjson.push(tmp);  //当前特价商品信息
              }
          });
    
    if(ojson == null){ 
       ojson = {};
    }
    //过滤存在的品牌信息 
    for(var i=0;i<ojson.length;i++){
        var flg=false;
        for(var j=0;j<lsjson.length;j++){
            if(ojson[i].brand_id==lsjson[j].brand_id){
                flg=true;
                break;
            }
        }
        if(!flg){json.push(ojson[i]);}
    }
    //看是否有删除的品牌信息 
    for(var j=0;j<lsjson.length;j++){
       var flg=false;
       for(var i=0;i<ojson.length;i++){
        if(ojson[i].brand_id==lsjson[j].brand_id){
            flg=true;
            break;
        }
    }
    if(!flg){del_json.push(lsjson[j]);}
    }

    //删除不存在的标签
    if(del_json.length!=0){
         for(var i=0;i<del_json.length;i++){
          var _barnd = $('#brand_'+del_json[i].brand_id);
          _barnd.html('');
        }  
    }

    if(json==null)return;
     htl= "";
    for(var i=0;i<json.length;i++){
        htl +='<span class="tag" id="brand_'+json[i].brand_id+'" field=\'"brand_id":"'+json[i].brand_id+'","brand_name":"'+json[i].brand_name+'"\'>'+json[i].brand_name+'<button type="button" onclick="del_brand(this)" class="close">×</button></span>'; 
    }   
    if(htl!=""){
        $("#brand_label").append(htl); 
    } 
    //将brand_id 保存到form中
    brand_id_save_to_form();
}

function brand_id_save_to_form(){
   var _brand_ids ='';
   var _list=getCookie(cookiename_brand);
   if(_list==""){
      $('#brand_ids').val(''); return;
  }
   ojson=JSON.parse(_list);
   if(ojson == null){
     ojson = {};
   }
  for(var i=0;i<ojson.length;i++){
     _brand_ids += (_brand_ids==""?'':',')+ ojson[i]['brand_id'];
 }
 $('#brand_ids').val(_brand_ids);

}
//点击删除brand标签
function del_brand(_this){
    //删除该条html
    var ojson=[],new_json = [];
    var _json = $(_this).parent('span').attr('field');
    $(_this).parent('span').remove();
   //删除cookie中的这条记录
      //获取该条记录
      var _json="{"+_json+"}";
      var tmp =JSON.parse(_json);
      var _list=getCookie(cookiename_brand);
      if(_list!=""){
          ojson=JSON.parse(_list);
      } 
      for(var i=0;i<ojson.length;i++){
        var flag = false;
        if(ojson[i].brand_id == tmp.brand_id){
            flag = true;
        }
        if(!flag){new_json.push(ojson[i]);}
    }
     //重新保存cookie
     setCookie(cookiename_brand,"",-10);
     if(new_json.length>0){
        var _db=JSON.stringify(new_json);
        setCookie(cookiename_brand,_db,1);
    }
     //将brand_id 保存到form中 
     brand_id_save_to_form();
 }

    //写入cookie
    function setCookie(c_name, value, expiredays){
        if(expiredays < 0){
            localStorage.removeItem(c_name);
        }
       localStorage.setItem(c_name,value); //存储名字为name值为caibin的变量
   }
//读取cookie   
function getCookie(c_name){
    return  localStorage.getItem(c_name);
}
</script>


		<!-- basic scripts -->

		<!--[if !IE]> -->
			<script src="/Public/assets/js/jquery-2.0.3.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]-->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='/Public/assets/js/jquery-2.0.3.min.js'>"+"<"+"script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"script>");
</script>
<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='/Public/assets/js/jquery.mobile.custom.min.js'>"+"<"+"script>");
		</script>
		<script src="/Public/assets/js/bootstrap.min.js"></script>
		<script src="/Public/assets/js/typeahead-bs2.min.js"></script>

		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="assets/js/excanvas.min.js"></script>
		<![endif]-->
        <script src="/Public/assets/js/ace-extra.min.js"></script>
		<script src="/Public/assets/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="/Public/assets/js/jquery.ui.touch-punch.min.js"></script>
		<script src="/Public/assets/js/jquery.slimscroll.min.js"></script>
		<script src="/Public/assets/js/jquery.easy-pie-chart.min.js"></script>
		<script src="/Public/assets/js/jquery.sparkline.min.js"></script>
		<script src="/Public/assets/js/flot/jquery.flot.min.js"></script>
		<script src="/Public/assets/js/flot/jquery.flot.pie.min.js"></script>
		<script src="/Public/assets/js/flot/jquery.flot.resize.min.js"></script>
		

		<!-- ace scripts -->

		<script src="/Public/assets/js/ace-elements.min.js"></script>
		<script src="/Public/assets/js/ace.min.js"></script>





			


		<!-- inline scripts related to this page -->





</body>
</html>